<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>类选择器</title>
		<style type="text/css">
			.myColor{
				color: red;
			}
			.myFont{
				font-size: 20px;
				text-decoration: none;
			}
		</style>
	</head>
	<body>
		<a href="#" class="myColor myFont">首页</a>
		<p><a href="#">影片</a></p>
		<p class="myColor">影城</p>
	</body>
</html>
